package com.hhq.usercenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hhq.usercenter.domain.model.MenuModel;
import com.hhq.usercenter.domain.model.RoleModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>Description: some description </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/1/10 9:59
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleModel> {

    /**
     * 查询角色菜单列表
     *
     * @param roleIds
     * @return
     */
    List<MenuModel> queryMenus(List<Integer> roleIds);
}
